<%-- 
    Document   : FactoryMenu
    Created on : march 6, 2015, 5:27:03 PM
    Author     : Ravi
--%>


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>Shop Inventory| FactoryMenu</title>
        <link type="text/css" rel="stylesheet" href="css/semantic.min.css"/>
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/jquery-ui.min.js"></script>
        <script type="text/javascript" src="js/semantic.min.js"></script>
        <script type="text/javascript">

            $(document).ready(function() {
                $('.ui.blue.button').click(function() {
                    $('.ui.left.vertical.inverted.labeled.icon.sidebar.menu').sidebar('toggle');
                });
            });


        </script>

    </head>
    <body>
        <c:if test="${empty Admin}">
            <c:redirect url="home.jsp"/>
        </c:if>
        <div class="ui left vertical inverted labeled icon sidebar menu">
            <a class="item" href="${pageContext.request.contextPath}/CreateFactory.jsp">
                <i class="users icon"></i>
                Add FACTORY
            </a>
            <a class="item" href="${pageContext.request.contextPath}/Factory_Purchase.jsp">
                <i class="add to cart icon"></i>
                Add NewPurchase
            </a>
            <a class="item" href="${pageContext.request.contextPath}/Factory_Transaction.jsp">
                <i class="exchange icon"></i>
                Update Bills
            </a>
            <a class="item" href="${pageContext.request.contextPath}/menu.jsp">
                <i class="home icon"></i>
                HOME
            </a>
            <a class="item" href="${pageContext.request.contextPath}/logout">
                <i class="sign out icon"></i>
                Logout
            </a>
        </div>     
        <div class="ui blue button">
            <i class="tasks icon"></i>Menu
        </div>  



    </body>
</html>